package com.juxuan.knowledge.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.juxuan.knowledge.model.TestUser;
import com.juxuan.knowledge.service.TestUserService;
import com.juxuan.knowledge.mapper.TestUserMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author Duan
* @description 针对表【test_user(测试用户表)】的数据库操作Service实现
* @createDate 2022-04-27 13:56:21
*/
@Service
public class TestUserServiceImpl extends ServiceImpl<TestUserMapper, TestUser>
    implements TestUserService{

    @Resource
    private TestUserMapper testUserMapper;

    @Override
    public List<TestUser> userAll() {
        return testUserMapper.userAll();
    }

    @Override
    public TestUser getByUserName(TestUser testUser) {
        return testUserMapper.getByUserName(testUser);
    }
}




